<!--#include("./header.html")-->

<div cond="$XE_VALIDATOR_MESSAGE" class="message {$XE_VALIDATOR_MESSAGE_TYPE}">
<p>{$XE_VALIDATOR_MESSAGE}</p>
</div>


<form action="./" method="get">
    <input type="hidden" value="{$module}" name="module"/>
    <input type="hidden" value="{$act}" name="act"/>
    <fieldset>
        <select name="search_target">
            <option value="user_id" <!--@if($search_target == 'user_id')-->selected="selected"<!--@end-->>{$lang->user_id}</option>
            <option value="nick_name" <!--@if($search_target == 'nick_name')-->selected="selected"<!--@end-->>{$lang->nick_name}</option>
            <option value="user_name" <!--@if($search_target == 'user_name')-->selected="selected"<!--@end-->>{$lang->user_name}</option>
            <option value="domain" <!--@if($search_target == 'domain')-->selected="selected"<!--@end-->>{$lang->domain}</option>
            <option value="regdate" <!--@if($search_target == 'regdate')-->selected="selected"<!--@end-->>{$lang->regdate}</option>
        </select>
        <input type="text" name="search_keyword" value="{$search_keyword}" />
        <span class="btn"><input type="submit" value="{$lang->cmd_search}" /></span>
    </fieldset>
</form>

<table cellspacing="0" class="rowTable">
<caption>Total {number_format($page_navigation->total_count)}, Page {number_format($page_navigation->cur_page)}/{number_format($page_navigation->total_page)}</caption>
<thead>
    <tr>
        <th scope="col"><div>{$lang->no}</div></th>
        <th scope="col"><div>{$lang->browser_title}</div></th>
        <th scope="col"><div>{$lang->domain}</div></th>
        <th scope="col"><div>{$lang->user_id}({$lang->nick_name})</div></th>
        <th scope="col"><div>{$lang->regdate}</div></th>
        <th scope="col"><div>&nbsp;</div></th>
    </tr>
</thead>
<tbody>
    <!--@foreach($shop_list as $no => $val)-->
    <tr class="row{$cycle_idx}">
        <td>{$no}</td>
        <td class="wide"><a href="{getSiteUrl($val->domain)}" onclick="window.open(this.href); return false;" title="{htmlspecialchars($lang->cmd_view)}">{$val->getBrowserTitle()}</a></td>
        <td><a href="{getSiteUrl($val->domain)}" onclick="window.open(this.href);return false;">{$val->domain}</a></td>
        <td class="nowrap">
			<!--@if($val->getUserId())-->
			<span class="member_{$val->getMemberSrl()}">{$val->getUserId()}({$val->getNickName()})</span>
			<!--@else-->
			-
			<!--@end-->
		</td>
        <td class="nowrap">{zdate($val->get('regdate'),"Y-m-d")}</td>
        <td class="nowrap">
            <a href="{getUrl('act','dispShopAdminInsert','module_srl',$val->getModuleSrl())}">{$lang->cmd_setup}</a>
            <a href="{getUrl('act','dispShopAdminDelete','module_srl',$val->getModuleSrl())}" title="{htmlspecialchars($lang->cmd_delete)}">{$lang->cmd_delete}</a>
        </td>
    </tr>
    <!--@end-->
</tbody>
</table>

<div class="pagination a1">
    <a href="{getUrl('page','','module_srl','')}" class="prevEnd">{$lang->first_page}</a> 
    <!--@while($page_no = $page_navigation->getNextPage())-->
        <!--@if($page == $page_no)-->
            <strong>{$page_no}</strong> 
        <!--@else-->
            <a href="{getUrl('page',$page_no,'module_srl','')}">{$page_no}</a> 
        <!--@end-->
    <!--@end-->
    <a href="{getUrl('page',$page_navigation->last_page,'module_srl','')}" class="nextEnd">{$lang->last_page}</a>
</div>



